﻿CREATE TABLE [dbo].[FC_UserEntity] (
    [IdUsuario] INT NOT NULL,
    [IdEntityF] INT NOT NULL,
    CONSTRAINT [PK_FC_UserEntity] PRIMARY KEY CLUSTERED ([IdUsuario] ASC, [IdEntityF] ASC),
    CONSTRAINT [FK_FC_UserEntity_FC_Entity] FOREIGN KEY ([IdEntityF]) REFERENCES [dbo].[FC_Entity] ([IdEntityF]),
    CONSTRAINT [FK_FC_UserEntity_FC_User] FOREIGN KEY ([IdUsuario]) REFERENCES [dbo].[FC_User] ([IdUsuario])
);

